const express = require('express');
const app = express();
// 配置跨域
const cors = require('cors');
app.use(cors());
//配置中间件解析
app.use(express.urlencoded({extended: false}));
const user_router=require('./router/use');
app.use('/api',user_router);
// 调用app.listen方法
app.listen(80,()=>{
    console.log('http://127.0.0.1');
})